<template>
  <div class="contactBox">
    <dl class="contact01" @click="phoneCall('023-95007')">
      <dt>服务热线（24小时）</dt>
      <dd>023-95007</dd>
      <dd class="icon"></dd>
    </dl>
    <div class="coll">
      <dl class="contact02" @click="phoneCall('023-67806210')">
        <dt>抢险电话（24小时）</dt>
        <dd>023-67806210</dd>
        <dd class="icon"></dd>
      </dl>
      <dl class="contact03" @click="phoneCall('023-67583599')">
        <dt>服务监督热线</dt>
        <dd>023-67583599</dd>
        <dd class="icon"></dd>
      </dl>
    </div>
  </div>
</template>

<script>
export default {
  name: '',
  components: {
  },
  props: {
    text: {
      type: String,
      default: () => ''
    }
  },
  data () {
    return {
    };
  },
  created () { },
  methods: {
    phoneCall (e) {
      uni.makePhoneCall({
        phoneNumber: e
      });
    }
  },
  mounted () {
  },
};
</script>

<style lang="scss" scoped>
.contactBox {
  display: flex;
  padding: 0 14px;
  font-weight: bold;
  .contact01,
  .coll {
    width: 50%;
    box-sizing: border-box;
  }
  .contact01 {
    height: 160px;
    background: #e2f2ff url("../../static/image/contactBj01.png") no-repeat;
    background-size: cover;
    margin-right: 8px;
    border-radius: 10px;
    padding: 14px;
    box-sizing: border-box;
    line-height: 34px;
    position: relative;
    z-index: 0;
    dt,
    dd {
      position: relative;
      z-index: 3;
    }
    dt {
      color: #444;
      font-size: 14px;
    }
    dd {
      font-size: 24px;
      color: #002060;
      text-shadow: 1px 0px 2px #e2f2ff;
    }
    .icon {
      position: absolute;
      bottom: 12px;
      right: 14px;
      width: 70px;
      height: 70px;
      z-index: 2;
      background: url("../../static/image/contactIcon01.png") no-repeat;
      background-size: contain;
    }
  }
  .contact02,
  .contact03 {
    width: 100%;
    height: 76px;
    border-radius: 10px;
    padding: 12px 14px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    // border: 1px solid #fff;
    // box-shadow: 0 0 24px #e7e7e7;
    z-index: 0;
    dt,
    dd {
      height: 2px;
      line-height: 2px;
      position: relative;
      z-index: 3;
    }
    dt {
      color: #444;
      font-size: 14px;
    }
    dd {
      font-size: 18px;
    }
    .icon {
      position: absolute;
      bottom: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
      z-index: 2;
    }
  }
  .contact02 {
    background: #fdece8 url("../../static/image/contactBj02.png") no-repeat;
    background-size: cover;
    margin-bottom: 8px;
    color: #4a2100;
    dd {
      text-shadow: 1px 0px 2px #fdece8;
    }
    .icon {
      background: url("../../static/image/contactIcon02.png") no-repeat;
      background-size: contain;
    }
  }
  .contact03 {
    background: #eceffe url("../../static/image/contactBj03.png") no-repeat;
    background-size: cover;
    color: #300067;
    dd {
      text-shadow: 1px 0px 2px #eceffe;
    }
    .icon {
      background: url("../../static/image/contactIcon03.png") no-repeat;
      background-size: contain;
    }
  }
}
</style>
